<script setup lang="ts">
// import svgIcon from "@/components/SvgIcon/index.vue";
import request from './utils/request'
import { onMounted } from 'vue'

onMounted(() => {
    request({
        url: '/user/login',
        method: 'post',
        data: {
            username: 'admin',
            password: '111111',
        },
    }).then((res) => {
        console.log(res)
    })
})
</script>

<template>
    <!-- <el-button type="success">按钮</el-button>
    <svgIcon name="cpu" fill="red" width="100px" height="100px"></svgIcon>
    <h1>111</h1> -->
    <router-view></router-view>
</template>

<style scoped lang="scss">
h1 {
    color: $color;
}
</style>
